using NHibernate;
using NHibernate.Cfg;
using Rhino.Commons;

namespace WineCellar.Data.Tests
{
    //public class CaptureConfiguration :INHibernateInitializationAware
    //{
    //    public static Configuration cfg;

    //    #region INHibernateInitializationAware Members

    //    public void BeforeInitialization()
    //    {
    //    }

    //    #endregion

    //    public void Configured(Configuration cfg)
    //    {
    //        cfg.SetProperty("proxyfactory.factory_class",
    //                                       "NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle");            
    //    }

    //    public void Initialized(Configuration cfg, ISessionFactory sessionFactory)
    //    {
    //        CaptureConfiguration.cfg = cfg;
    //    }
    //}
}